package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.stereotype.Repository;

/**
 * @author: dh
 * @date: 2023-11-03 12:13
 * 创建一个实现类BookDaoImpl，实现接口BookDao，并重写其中的update和select方法.
 */
@Repository
public class BookDaoImpl implements BookDao {

    @Override
    public void update() {

        System.out.println("book dao update ...");
    }

    @Override
    public int select() {

        System.out.println("book dao select ...");
        return 100;
    }
}
